package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanYuanKuPeiXunSavePO;
import com.ct.application.shipping.model.po.ChuanYuanKuPeiXunSearchPO;
import com.ct.application.shipping.model.vo.ChuanYuanKuPeiXunVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanYuanKuPeiXunDO;

/**
 * <p>
 * 船员证书-培训项目 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanYuanKuPeiXunService extends IBaseService<ChuanYuanKuPeiXunDO> {

    Page<ChuanYuanKuPeiXunVO> findChuanYuanKuPeiXun(ChuanYuanKuPeiXunSearchPO searchPO);

    ChuanYuanKuPeiXunVO saveChuanYuanKuPeiXun(ChuanYuanKuPeiXunSavePO savePO);

    ChuanYuanKuPeiXunVO getChuanYuanKuPeiXun(Long id);

    ChuanYuanKuPeiXunVO updateChuanYuanKuPeiXun(ChuanYuanKuPeiXunSavePO savePO);

    boolean delChuanYuanKuPeiXun(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
